From: Tim Starling Date: Fri, 20 Apr 2007 04:17:15 +0000 (+0000) Subject: Fixed complete breakage of anon-only autoblocks, broken since r20436. X-Git-Tag: 1.31.0-rc.0~53340 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=4e7247417065448c22558eb8cdfc02cababbc951;p=lhc%2Fweb%2Fwiklou.git Fixed complete breakage of anon-only autoblocks, broken since r20436. --- diff --git a/includes/Block.php b/includes/Block.php index 6257b718e5..94bfa5b452 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -149,7 +149,7 @@ class Block } # Try range block - if ( $this->loadRange( $address, $killExpired, $user == 0 ) ) { + if ( $this->loadRange( $address, $killExpired, $user ) ) { if ( $user && $this->mAnonOnly ) { $this->clear(); return false;